package com.dao.dao;

import java.util.List;

import com.dao.entity.Address;

public interface IAddressDao {

    int deleteByPrimaryKey(Integer id);
    
    int deleteByPrimaryUserName(String userName);

    int insert(Address record);

    int insertSelective(Address record);

    Address selectByPrimaryKey(Integer id);
    
    List<Address> selectByUserName(String userName);

    int updateByPrimaryKeySelective(Address record);

    int updateByPrimaryKey(Address record);
    
    int updateByUserName(Address record);
}